package com.liuzh.kaoyanspringboot.service;

import com.liuzh.kaoyanspringboot.entity.Article;
import com.liuzh.kaoyanspringboot.entity.Concern;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liuzh.kaoyanspringboot.entity.User;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 刘志鸿
 * @since 2023-04-11
 */
public interface ConcernService extends IService<Concern> {

    List<User> getUsersByMyId(Integer myId);

    boolean removeConcern(Integer myId, Integer concernId);

    boolean findConcern(Integer concernId, Integer myId);

    List<Article> findConcernArticle(Integer userId);

    Boolean mySave(Concern concern);
}
